package me.monster.smarttraffic.ui.info;

import me.monster.smarttraffic.SplashActivity;
import me.monster.smarttraffic.base.BasePresenter;
import me.monster.smarttraffic.tool.KvUtil;

/**
 * @description
 * @author: Created jiangjiwei in 2020-02-15 19:50
 */
public class InfoPresenter extends BasePresenter<InfoContract.View> implements InfoContract.Presenter {
    private static final String TAG = "InfoPresenter";

    @Override
    public void clearAuth() {
        KvUtil.getInstance().editor()
                .put(SplashActivity.SPK_ACCOUNT, "")
                .put(SplashActivity.SPK_TOKEN, "")
                .put(SplashActivity.SPK_AVATAR, "")
                .put(SplashActivity.SPK_QUOTE, "")
                .apply();
    }
}
